package com.zdkj.subway.check.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zdkj.admin.api.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 用户表
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    //查询
    List<Map<String, Object>> checkAccountRole(@Param("account") String account,@Param("roleCode") String roleCode);

    //查询员工
    List<SysUser> getUsersByRolesOrOther(Map<String, Object> param);

	List<SysUser> getPersonOtherStation(@Param("userCode") String userCode);
}
